<ion-view title="忘记密码">
    <ion-content class="padding">
        <ion-list>
            <ion-item class="item-input">
                <input class="number" type="tel" placeholder="请输入手机号" ng-model="reset.phone"  ng-keyup="isValidPhone()">
            </ion-item>
            <ion-item class="item-input">
                <input class="number" type="text" placeholder="请输入验证码" ng-model="reset.validateCode">
                <button  class="button button-small button-stable buttongetcode size-14" ng-disabled="fetchButton" ng-click="sendCode()" ng-model="fetchButton">{{buttonText}}</button>
            </ion-item>
            <ion-item class="item-input">
                <input class="number" type="password" placeholder="请输入新密码" ng-model="reset.loginPwd">
            </ion-item>
            <ion-item class="item-input">
                <input class="number" type="password" placeholder="请确认新密码" ng-model="reset.reLoginPwd">
            </ion-item>
        </ion-list>
        <button class="button button-full button-positive" ng-click="resetpwd()">重置密码</button>
    </ion-content>
</ion-view>
